package com.shelpe.services.sinbad.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=true)
public class RptKeyword extends RptKeywordKey {
    private Long taobaoUserId;
    private Long campaignId;
    
    private String keywordstr;

    private Integer impressions;

    private Float cpm;

    private Integer click;

    private Integer cost;

    private Float avgpos;

    private Integer directPay;

    private Integer indirectPay;

    private Integer directPayCount;

    private Integer indirectPayCount;

    private Integer favShopCount;

    private Integer favItemCount;

    private Integer directCartTotal;

    private Integer indirectCartTotal;

    private Integer cartTotal;

    /**
     * 以下几个字段都是计算得出来
     */
    private float cpc;
    private float ctr;
    private float cvr;
    private float roi;
    private float favCountRate;
    private float cartCountRate;
    private int payCount;
    private float sale;
    private float favCount;
 
    
    /**
     * 以下几个字段只有在source为23的有效
     */
    private Integer qscore;
    private Integer wirelessQscore;
}